unit contasexcluir;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, Mask, DBCtrls, Buttons;

type
  TFcontasexcluir = class(TForm)
    BitBtn1: TBitBtn;
    BitBtn2: TBitBtn;
    Label1: TLabel;
    Label2: TLabel;
    DBEdit1: TDBEdit;
    DBEdit2: TDBEdit;
    procedure BitBtn1Click(Sender: TObject);
    procedure BitBtn2Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Fcontasexcluir: TFcontasexcluir;

implementation

uses Dados;

{$R *.dfm}

procedure TFcontasexcluir.BitBtn1Click(Sender: TObject);
begin
fdados.contas.Delete;
close;
end;

procedure TFcontasexcluir.BitBtn2Click(Sender: TObject);
begin
close;
end;

end.
